package com.xinyi.shicihui.pojo.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @author xinyi
 * @desc 通用结果枚举类
 * @date 2022/1/27
 */
@Getter
@AllArgsConstructor
public enum ResultCode {
    OK(200, "成功"),
    UNKNOWN_ERROR(500, "未知错误");
    private Integer code;
    private String message;
}
